body{
    background-color: rgb(236, 236, 236);
}

button{
    cursor: pointer;
}
input{
    z-index: 10;
    position: relative;
    pointer-events: auto;
    padding-left: 7px;
}

.signin-div, .creatacc-div {
    position: relative;
    overflow: visible;
}

.gen-div{
    box-shadow: -2px 2px 36px 14px rgba(43,40,40,0.8);
    -webkit-box-shadow: -2px 2px 36px 14px rgba(43,40,40,0.8);
    -moz-box-shadow: -2px 2px 36px 14px rgba(43,40,40,0.8);
    margin: 30px;
     position: relative; 
     border-radius: 20px;
    margin: auto;
    overflow: hidden;
    height: 100vh;
    width: 90vw;
    margin-top: 30px;
    margin-bottom: 30px;
}

 .first-div, .second-div { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;

}

.second-div{
    font-size: 15px;
}

.hidden {
    opacity: 0; 
    visibility: hidden; 
    display: none; 
    transform: translateX(-20px);
    z-index: -1; 
    pointer-events: none;
    transition: opacity 1.5s ease, visibility 1.5s ease, transform1.5s ease;
}

.visible {
    opacity: 1; 
    visibility: visible; 
    display: flex; 
    z-index: 10; 
    pointer-events: auto; 
    transform: translateX(0);
    transition: opacity 1.5s ease, visibility 1.5s ease, transform 1.5s ease;
}


.card-div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.first, .second{
    height: 100%;  
    font-family: "Agu Display", serif;
    width: 100%;
    text-align: center;
}
.first{
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 30px;
 text-align: center;
 margin-bottom: 80px;
}


.second{
    background-color: #012970;
    color: white;
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input{
    margin-bottom: 30px;
    width: 400px;
    background-color: white;
    height: 40px;
    border: none;
    font-size: 15px;
    /* background-color: rgb(236, 236, 236); */
    border-radius: 5px;
}
 input::placeholder{
    padding-left: 13px;
    color: rgb(136, 135, 135);
 }

.card-section h2{
    font-family: "Open Sans", sans-serif;
    text-align: center;
    margin-bottom: 70px;
}

.second-div p{
    font-size: 18px;
}

.button-div{
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 40px;
}

.button-div button{
    border: none;
    color: white;
    background-color: #012970;
    padding: 15px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em; 
    position: relative;
    min-width: 120px; 
}

.button-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.button-div a{
    margin-bottom: 30px;
}

.second-card-section{
    border: 2px solid gray;
    display: flex;
    background-color: #012970;
    color: white;
    justify-content: space-around;
    align-items: center;
    width: 900px;
    height: 450px;
    text-align: center;
}

#sign{
    border: 1px solid white;
}



.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-left: 0.5em;
  }
  
  .spinner--hidden {
    display: none;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  button.loading {
    background-color: #888; /* or any "loading" color */
    cursor: wait;
    transition: background-color 0.3s ease;
  }
  
  button.loading .btn-text {
    opacity: 0; /* if you want to hide text as well */
  }
  
  #register-message,
  #login-message {
    color: #d93025;         /* Bright red color */
    font-size: 14px;      /* Slightly larger font size */
    font-weight: 600;       /* Semi-bold */
    margin-top: 8px;        /* Some spacing above */
    line-height: 1.4;       /* Better readability */
  }
  




@media(max-width:950px){
    .first-div, .second-div{
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .signin-h{
        padding-bottom: 40px;
        margin-top: 40px;
    }

    .first, .second{
        height: 100%;
        width: 100%;

    }
.input{
    width: 94%;
}

    .first-div {
        margin-top: 120px;
        

        
    }
    .gen-div{
        height: 1650px;
        padding: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .visible{
        transform: translateY(0);
    }
    .hidden {
        transform: translateY(-20px);
    }
}
